package com.magina.antiPro.util;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 首页kpi 视图 bean
 */
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
@ApiModel(value = "kpi率值", description = "kpi率值")
public class UserKpiViewBean implements Serializable {
    @ApiModelProperty(value = "用户名", notes = "用户名")
    private String userName;
    @ApiModelProperty(value = "区域名", notes = "区域名")
    private String positionBranch;
    @ApiModelProperty(value = "大区名", notes = "大区名")
    private String positionRegion;
    @ApiModelProperty(value = "fo名", notes = "fo名")
    private String positionFo;
    @JsonSerialize(using = BigDecimalPercentSerialize.class)
    @ApiModelProperty(value = "转签率", notes = "转签率")
    private BigDecimal conversionRate;
    @JsonSerialize(using = BigDecimalPercentSerialize.class)
    @ApiModelProperty(value = "重获率", notes = "重获率")
    private BigDecimal recoveryRate;
    @JsonSerialize(using = BigDecimalPercentSerialize.class)
    @ApiModelProperty(value = "丢失率", notes = "丢失率")
    private BigDecimal lossRate;
//    @JsonSerialize(using = BigDecimalSerialize.class)
    @ApiModelProperty(value = "丢失台数", notes = "丢失台数")
    private BigDecimal ppLossNum;
//    @JsonSerialize(using = BigDecimalSerialize.class)
    @ApiModelProperty(value = "免保延误台数", notes = "免保延误台数")
    private BigDecimal exemptionNum;
//    @JsonSerialize(using = BigDecimalSerialize.class)
    @ApiModelProperty(value = "收费延误台数", notes = "收费延误台数")
    private BigDecimal chargeNum;
    @JsonSerialize(using = BigDecimalPercentSerialize.class)
    @ApiModelProperty(value = "拜访率", notes = "拜访率")
    private BigDecimal visitRate;


}
